<?php

namespace app\admin\validate;

use think\Validate;

class Banner extends Validate
{
    protected $rule = [
        //'title' => 'require',
        //'lur' => 'require|url',
        'image' => 'require',
    ];

    protected $message = [
        //'title.require' => '名称不能为空',
        //'lur.require' => '链接不能为空',
        //'lur.url' => '链接不是个有效的链接',
        'image.require' => '图片不能为空',
    ];

   
}